package com.leetcode.LC;

public class LC796 {
    public boolean rotateString(String A, String B) {

        if (A.length()!=B.length()){
            return false;
        }
        if (A.length()==0l&&B.length()==0){
            return true;
        }
        A=A+A;
        if (A.contains(B)){
            return true;
        }else {
            return false;
        }
    }

    public static void main(String[] args) {
        System.out.println(new LC796().rotateString("", ""));
    }
}
